submit5 = function (){
    var id = $("#id").val();
    var name = $("#name").val();
    var role = $("#role option:selected").val();
    var passWord = $("#passWord").val();
    var email = $("#email").val();
    var tel = $("#tel").val();
    var protocol = window.location.protocol;
    var host = window.location.host;

    $.ajax({
        type : 'POST',
        url : '/adminEdit',
        data : {id:id,name:name,role:role,passWord:passWord,email:email,tel:tel},
        success:function (data) {
            if (data == "OK"){
                if (data == "OK"){
                    layer.msg('修改成功', {
                        icon: 1,
                        time: 2000 //2秒关闭（如果不配置，默认是3秒）
                    }, function(){
                        window.location.href = protocol+"//"+host+"/adminList";
                    });
                }
            }else {
                layer.open({
                    title: '提示信息',
                    anim: 0,
                    resize:false,//是否可以拉伸  默认true
                    icon: 2,
                    shadeClose: true,
                    skin: 'layui-layer-molv',
                    content: data
                });
            }
        },
        error: function (e) {
            console.log(e)
        }
    });
}